package com.hylanda.va.dao;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.transaction.annotation.Transactional;

import com.hylanda.va.entity.TIncome;

/** 
 * @author zhangy
 * @E-mail:blackoon88@gmail.com 
 * @qq:846579287
 * @version created at：2018年5月29日 下午6:08:00 
 * note
 */
public interface TIncomeRepository extends JpaRepository<TIncome, Integer>,
		JpaSpecificationExecutor<TIncome> {

	List<TIncome> findByIncomeMonth(String incomeMonth);

	@Transactional
	void deleteByIncomeMonth(String incomeMonth);

}
